{! extends name="back/base" !}


{! block name="content" !}

<div class="content">
    <form class="pure-form pure-form-stacked" method="POST" action="/tag_e">
        <input type="hidden" name="id" value="{=$info['id']|'0'}">
        {=$csrf_field}
        <fieldset>
            <legend><h2>标签编辑</h2></legend>

            <div class="pure-g">
                <div class="pure-u-1 pure-u-md-2-3">
                    <label for="name">标题</label>
                    <input id="name" class="pure-u-23-24" type="text" name="name" value="{=$info['name']}">
                </div>

            </div>
<!-- 
            <label for="terms" class="pure-checkbox">
                <input id="terms" type="checkbox"> I've read the terms and conditions
            </label> -->

            <button type="submit" class="pure-button pure-button-primary">编辑</button>
        </fieldset>
    </form>
</div>

{! endblock !}